<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/three/static/lib/html5shiv.js"></script>
<script type="text/javascript" src="/three/static/lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/three/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/three/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/three/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/three/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="/three/static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="/three/static/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<style type="text/css">
	*{
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}
</style>
<title>查看礼包详情</title>
</head>
<body>
<div class="page-container">
	
	<form class="form form-horizontal" id="form-article-add">
		<table height="300" border="1" style="border: 1px solid gainsboro">
			<tr>
				<td align="right">项目名称：</td>
				<td>&nbsp;${bisNurseBag.bagName }</td>
				<td align="right">状态：</td>
				<td>
					&nbsp;
					<c:if test="${bisNurseBag.status=='0'}"><span class="label label-disabled radius">待上架</span></c:if>
					<c:if test="${bisNurseBag.status=='1'}"><span class="label label-success radius">在售</span></c:if>
					<c:if test="${bisNurseBag.status=='2'}"><span class="label label-danger radius">下架</span></c:if>
				</td>
				<td rowspan="8">
					<table  class="table table-border table-bordered table-bg table-hover table-sort table-responsive" style="margin-bottom: 187px;">
						<thead>
							<tr class="text-c">
								<th colspan="4">护理项目</th>
							</tr>
						</thead>
						<tbody>
							<tr class="text-c">
									<td>项目名称</td>
									<td>价格</td>
									<td>数量</td>
									<td>操作</td>
								</tr>
								<c:forEach items="${bisBagProject }" var="bagProject">
									<tr class="text-c">
										<td>${bagProject.projectName }</td>
										<td>${bagProject.projectNewPrice }</td>
										<td>${bagProject.projectNum }</td>
										<td class="f-14 td-manage">
											<a style="text-decoration: none" class="ml-5"
											onClick="nurse_details('查看护理项目信息','/three/bnp/project_details?projectId=${bagProject.projectId }','10001')"
											href="javascript:;" title="查看详情"><i class="Hui-iconfont">&#xe665;</i></a>
											
										</td>
									</tr>
								</c:forEach>
						</tbody>
					</table>
				</td>
			</tr>
			<tr>
				<td align="right">列表图片：</td>
				<td>&nbsp;
					<img src="http://localhost:8080/three${bisNurseBag.coverPhoto }" style="width: 100px;height: 80px"/>
				</td>
				<td align="right">封面图片：</td>
				<td>&nbsp;
					<img src="http://localhost:8080/three${bisNurseBag.coverBigPhoto } style="width: 100px;height: 80px""/>
				</td>
			</tr>
			<tr>
				<td align="right">礼包价格：</td>
				<td>&nbsp;${bisNurseBag.bagTotalPrice } 元</td>
				<td align="right">开卡数量：</td>
				<td>&nbsp;${bisNurseBag.openCardNum }</td>
			</tr>
			<tr>
				<td align="right">每次最少购买量：</td>
				<td>&nbsp;${bisNurseBag.minBuyNum }</td>
				<td align="right">每次最大购买量：</td>
				<td>&nbsp;${bisNurseBag.maxBuyNum }</td>
			</tr>
			<tr>
				<td align="right">允许购买次数：</td>
				<td>&nbsp;${bisNurseBag.buyCount }</td>
				<td align="right">过期时间：</td>
				<td>&nbsp;${bisNurseBag.overdueTime } 天</td>
			</tr>
			<tr>
				<td align="right">上架时间：</td>
				<td>&nbsp;<f:formatDate value="${bisNurseBag.putawayTime }" pattern="yyyy-MM-dd HH:mm"/></td>
				<td align="right">下架时间：</td>
				<td>&nbsp;<f:formatDate value="${bisNurseBag.soldoutTime }" pattern="yyyy-MM-dd HH:mm"/></td>
			</tr>
			<tr>
				<td align="right">排序号：</td>
				<td>&nbsp;${bisNurseBag.sortNo }</td>
				<td align="right">礼包介绍：</td>
				<td>&nbsp;${bisNurseBag.bagIntroduce }</td>
			</tr>
			<tr>
				<td align="right">购买说明：</td>
				<td colspan="3">
					&nbsp;${bisNurseBag.content }
				</td>
			</tr>
		</table>
	</form>
</div>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/three/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/three/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/three/static/h-ui/js/H-ui.min.js"></script> 
<script type="text/javascript" src="/three/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer /作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/three/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="/three/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/three/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">

/*护理项目-详情*/
function nurse_details(title,url,w,h){
	var index = layer.open({
		type: 2,
		title: title,
		content: url,
		h:h
	});
	layer.full(index);
}
</script>
</body>
</html>